import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.Set;

/**
 * @author chent3
 * @date 2024/7/17
 */
public class ErpMsgGenerator {


    public void generate(String sql, Set<String> fillName, String headTpl, String dataTpl) {

    }


    public static Connection getConnection() throws SQLException, ClassNotFoundException {
        String url = "jdbc:mysql://rm-bp1x0ypop4kx4z2qbto.mysql.rds.aliyuncs.com:3306/xp_ass";
        String userName = "xp_ass";
        String pwd = "cHp3XazZWoPloa8I";

        Class.forName("com.mysql.jdbc.Driver");
        return DriverManager.getConnection(url, userName, pwd);
    }
}
